<template>
<div class="about">
  <h2>x: {{x}} , y: {{y}}</h2>
</div>
</template>

<script lang="ts">
import useClickPosition from '@/hooks/useClickPosition'

export default {

  setup() {
    const {x, y} = useClickPosition()

    return {
      x,
      y
    }
    
  }
}
</script>
